﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true"
    CodeBehind="WebForm1.aspx.cs" Inherits="Giaiphongmatbang.WebForm1" EnableEventValidation="false"
    MaintainScrollPositionOnPostback="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        function expand(id) {
            $('#<%=hdf.ClientID %>').val(id);
            $('#<%=btnExpand.ClientID %>').click();
        }

        function collapse(id) {
            $('#<%=hdf.ClientID %>').val(id);
            $('#<%=btnCollapse.ClientID %>').click();
        }
        function abc() {
            alert('abc');
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="uppn" runat="server">
        <ContentTemplate>
            <div>
                <asp:Literal ID="ltr" runat="server" EnableViewState="false" />
            </div>
            <div style="display: none">
                <asp:Button ID="btnExpand" runat="server" OnClick="btnExpand_Click" />
                <asp:Button ID="btnCollapse" runat="server" OnClick="btnCollapse_Click" />
                <asp:HiddenField ID="hdf" runat="server" Value="" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
